package com.lonty.intelligence.mapper;

import com.lonty.intelligence.model.LicensePlate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 陈璇
 * @Date 2020/5/11 14:14
 * @Version 1.0
 */
@Mapper
public interface LicensePlateMapper {

    /**
     * 保存车牌
     * @param licensePlate
     * @return
     */
    int saveLicensePlate(LicensePlate licensePlate);

    /**
     * 根据住户ID获取车牌
     * @param householdId
     * @return
     */
    List<LicensePlate> getByHouseholdId(String householdId);

}
